package com.example.cloud.service.common;

import com.example.cloud.model.dto.QueryModel;
import com.example.cloud.model.dto.Result;

/**
 * Created by wangtao on 2018/5/1.
 */
public interface CommonService {
    public Result query(QueryModel queryModel, Class clazz);
    public Result queryBySql(QueryModel queryModel, StringBuilder sql, Class clazz);
}
